/*int dangle(){*/
/*	int i = 23;*/
/*	return &i;*/
/*}*/
/*main(){	*/
/*	int *p;*/
/*	p = dangle();*/
/*}*/

#include<stdio.h>
#include<stdlib.h>
main(){
  int *p;
  int k, i = 4;
  p=(int*)malloc(i*sizeof(int));
  for (k=0;k<i;k++){
    printf ("\nDigite o %do valor do vetor: ",k+1);
    scanf ("%d",&p[k]);
    getchar();
  }
  free(p);
  return 0;
}
/*	printf("\n\n");*/
/*	for (k=0;k<i;k++)*/
/*		printf ("%d\t",p[k]);*/
/*	printf("\n\n");*/

